<script lang="ts" setup>
import { useCountStore } from '@/store/count'
const store = useCountStore()
const count = $computed(() => store.count)
</script>

<template>
  <div class="home">
    <h3>Count组件的数字: {{ count }}</h3>
  </div>
</template>

<style scoped lang="less">
h3 {
  color: @primary-color;
}
</style>

<route lang="yaml">
meta:
  layout: default
</route>
